package com.dujiabao.dex.example.service;

import java.util.concurrent.TimeUnit;

import ltd.dujiabao.dex.core.DelayJob;
import ltd.dujiabao.dex.core.ExecutorType;

/**
 * @author : DuJiabao
 * @Project : common-delay-executor
 * @Time : 2024/3/25 21:28
 * @Desc :
 */
@DelayJob(jobName = "xxx", delayTime = 5, timeUnit = TimeUnit.SECONDS,
        executorType = ExecutorType.JDK, implementation = DelayJobImpl.class)
public interface DelayJobApi {
    void job();

    void job(int i);

    void job(long i);

    void job1(int i, String j);
}
